Xbasic

DDE.IS_VALID Function

Syntax

Result_Flag as L = Is_Valid()

Description

The .IS_VALID() method returns .T. (TRUE) if the connection has been established; otherwise, it returns .F. (FALSE).

Example

sys_shell("C:\Program Files\Microsoft Office\Office10\WINWORD.EXE")
dde_session = dde.open("winword", "system")
? dde_session.is_valid()
= .T.

See Also